package com.kg.module.jtnc.nczdagl.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.kg.core.base.model.BaseEntity;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 农场主档案管理表
 * </p>
 *
 * @author xxx
 * @since 2024-11-02
 */
@Getter
@Setter
@TableName("kr_nczdagl")
@ApiModel(value = "KrNczdagl对象", description = "农场主档案管理表")
public class KrNczdagl implements BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "ncz_id", type = IdType.ASSIGN_UUID)
    private String nczId;

    @ApiModelProperty("农场主编号")
    @TableField("nczbh")
    private String nczbh;

    @ApiModelProperty("农场主姓名")
    @TableField("nczxm")
    private String nczxm;

    @ApiModelProperty("农场主性别")
    @TableField("nczxb")
    private String nczxb;

    @ApiModelProperty("农场主年龄")
    @TableField("ncznl")
    private String ncznl;

    @ApiModelProperty("农场主联系方式")
    @TableField("nczlxfs")
    private String nczlxfs;

    @ApiModelProperty("农场主家庭住址")
    @TableField("nczjtzz")
    private String nczjtzz;

    @ApiModelProperty("紧急联系人")
    @TableField("jjlxr")
    private String jjlxr;

    @ApiModelProperty("紧急联系方式")
    @TableField("jjlxfs")
    private String jjlxfs;

    @ApiModelProperty("绑定微信状态（0：未绑定，1:已绑定）")
    @TableField("bind_wx_state")
    private String bindWxState;

    @ApiModelProperty("农场主用户id")
    @TableField("ncz_user_id")
    private String nczUserId;

    @ApiModelProperty("添加时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;
}
